﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GiveGraphModel.Service>" %>
<%@ Import Namespace="WebApp.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Service Details</h2>

    <div id="tabs">
	    <ul>
		    <li><a href="#volunteer-information">Volunteer</a></li>
		    <li><a href="#schedule">Availability Schedule</a></li>
	    </ul>
	    <div id="volunteer-information">
            Volunteer: <a href="/Profile?id=<%: Model.ProviderMember.MemberId %>"><%: Model.ProviderMember.MemberId %></a>         
        </div>

        <div id="schedule">   
            
            <% Html.RenderPartial("Container", new Container("Availability Schedule", "Scheduler")); %> 
            
        </div> 
    </div>  

    <form method="post" action="/Service/RequestService">
        <input type="hidden" name="resourceid" value="<%: Model.ResourceId %>" />
        <input type="submit" value="Request this Service"/>
    </form>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MetaTagsContent" runat="server">
</asp:Content>
